   function SetTipStorage(element) {
            var content = element.get('title').split('::');   
            switch(content[0]) {
                case 'AJAX':
                    var req = new Request({
                        url: content[1],
                        method: 'get',
                        onFailure: function(xhr) {
                            alert(xhr.status + '\n' + xhr.statusText);
                            element.store('tip:title', 'ERROR');
                            element.store('tip:text', 'Ajax request failed');
                        },
                        onSuccess: function(responseText, responseXML) {
                            content = responseText.split('::');
                            element.store('tip:title', content[0]);   
                            element.store('tip:text', content[1]);
                            element.title = '';
                        }
                    });
                    req.send();
                    break;
                default:
                    element.store('tip:title', content[0]);   
                    element.store('tip:text', content[1]);
                    element.title = '';
                    break;
            }
        }        
        
        window.addEvent('domready', function() {
             var lista = $$('.myTipAjax');  
   				var tips = new Tips();
   				lista.each(function(elemento) {
                                	
            		SetTipStorage($(elemento.id));
            		tips.attach($(elemento.id), {
                		fixed: true,
                		showDelay: 0,
                		hideDelay: 0
            	});
            	}); // cierra lista.each
            	
        });
 